package lab02.Test12;

/**
 * Created by Administrator on 2017/11/17.
 */
public class Test12 {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.a=6;
        circle.PI=3.14;
        circle.area(circle.a,circle.PI);
        circle.perimeter(circle.a,circle.PI);

        Rectangular rectangular= new Rectangular();
        rectangular.a=2;
        rectangular.b=3;
        rectangular.area(rectangular.b,rectangular.a);
        rectangular.perimeter(rectangular.b,rectangular.a);

    }
}
